package com.learn.eduapi.entity.ad;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 广告表(ad)实体类
 *
 * @author makejava
 * @since 2022-01-12 15:31:01
 */
@Data
@TableName("promotion_ad")
public class PromotionAd implements Serializable {
    private static final long serialVersionUID = -29054335318173039L;
    @TableId(type = IdType.AUTO)
    private Integer  id;
    /**
     * 广告名
     */
    private String name;
    private Integer space_id;
    private String keyword;
    private String html_content;
    private String text;
    private String link;
    private String start_time;
    private String end_time;
    private String create_time;
    private String update_time;
    private Integer status ;
    private Integer  priority;
    private String img;
}
